//
//  UIImage+RBAdd.h
//  GXSign
//
//  Created by 蓝其 on 16/11/14.
//  Copyright © 2016年 GX. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage(RBAdd)

/**
 遮罩图片
 如:width=20,height=20,radius=10,
 图片为方形去除中间圆形的部分
 */
+ (UIImage *)rbMaskImageWithColor: (UIColor *)color
                            width: (CGFloat)width
                           height: (CGFloat)height
                           radius: (CGFloat)radius;

- (UIImage *)renderImage;
+ (UIImage *)renderImageWithName: (NSString *)name;

@end
